set -x
if [ ! -f ape.o ]; then cc -c -DImTextureID=ImU64 -DWITH_ALSA ape.c droid_sans_mono.c soloud/src/audiosource/wav/stb_vorbis.c -Isoloud/include; c++ -c -std=c++14 -DImTextureID=ImU64 -DWITH_ALSA imgui*.cpp ape.o droid_sans_mono.o soloud/src/audiosource/monotone/soloud_monotone.cpp soloud/src/audiosource/sfxr/soloud_sfxr.cpp soloud/src/audiosource/speech/darray.cpp soloud/src/audiosource/speech/klatt.cpp soloud/src/audiosource/speech/resonator.cpp soloud/src/audiosource/speech/soloud_speech.cpp soloud/src/audiosource/speech/tts.cpp soloud/src/audiosource/wav/dr_impl.cpp soloud/src/audiosource/wav/soloud_wav.cpp soloud/src/audiosource/wav/soloud_wavstream.cpp soloud/src/backend/alsa/soloud_alsa.cpp soloud/src/core/soloud.cpp soloud/src/core/soloud_audiosource.cpp soloud/src/core/soloud_bus.cpp soloud/src/core/soloud_core_3d.cpp soloud/src/core/soloud_core_basicops.cpp soloud/src/core/soloud_core_faderops.cpp soloud/src/core/soloud_core_filterops.cpp soloud/src/core/soloud_core_getters.cpp soloud/src/core/soloud_core_setters.cpp soloud/src/core/soloud_core_voicegroup.cpp soloud/src/core/soloud_core_voiceops.cpp soloud/src/core/soloud_fader.cpp soloud/src/core/soloud_fft.cpp soloud/src/core/soloud_fft_lut.cpp soloud/src/core/soloud_file.cpp soloud/src/core/soloud_filter.cpp soloud/src/core/soloud_misc.cpp soloud/src/core/soloud_queue.cpp soloud/src/core/soloud_thread.cpp soloud/src/c_api/soloud_c.cpp soloud/src/filter/soloud_bassboostfilter.cpp soloud/src/filter/soloud_biquadresonantfilter.cpp soloud/src/filter/soloud_dcremovalfilter.cpp soloud/src/filter/soloud_duckfilter.cpp soloud/src/filter/soloud_echofilter.cpp soloud/src/filter/soloud_eqfilter.cpp soloud/src/filter/soloud_fftfilter.cpp soloud/src/filter/soloud_flangerfilter.cpp soloud/src/filter/soloud_freeverbfilter.cpp soloud/src/filter/soloud_lofifilter.cpp soloud/src/filter/soloud_robotizefilter.cpp soloud/src/filter/soloud_waveshaperfilter.cpp -Isoloud/include; fi
c++ -std=c++14 -DImTextureID=ImU64 -DWITH_ALSA main.cpp script.cpp imgui*.o ape.o droid_sans_mono.o soloud_monotone.o soloud_sfxr.o darray.o klatt.o resonator.o soloud_speech.o tts.o dr_impl.o soloud_wav.o soloud_wavstream.o stb_vorbis.o soloud_alsa.o soloud.o soloud_audiosource.o soloud_bus.o soloud_core_3d.o soloud_core_basicops.o soloud_core_faderops.o soloud_core_filterops.o soloud_core_getters.o soloud_core_setters.o soloud_core_voicegroup.o soloud_core_voiceops.o soloud_fader.o soloud_fft.o soloud_fft_lut.o soloud_file.o soloud_filter.o soloud_misc.o soloud_queue.o soloud_thread.o soloud_c.o soloud_bassboostfilter.o soloud_biquadresonantfilter.o soloud_dcremovalfilter.o soloud_duckfilter.o soloud_echofilter.o soloud_eqfilter.o soloud_fftfilter.o soloud_flangerfilter.o soloud_freeverbfilter.o soloud_lofifilter.o soloud_robotizefilter.o soloud_waveshaperfilter.o -Isoloud/include -L. -pthread -lm -ldl -lglfw -lasound /opt/RedGpuSDK/libredgpu.so /opt/RedGpuSDK/sdk/1.2.135.0/x86_64/lib/libvulkan.so -Wl,-rpath=. -Wl,-rpath=/opt/RedGpuSDK/ -Wl,-rpath=/opt/RedGpuSDK/sdk/1.2.135.0/x86_64/lib/ -o game_script_redgpu_version

